﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace BlindTestLibrary
{
    /// <summary>
    /// Interface de définition du service distant
    /// </summary>
    [ServiceContract]
    public interface IRemoteService
    {

        /// <summary>
        /// Identifie le client sur le serveur.
        /// </summary>
        /// <param name="clientInformation">Les informations d'identification du client</param>
        [OperationContract]
        void SayHello(string clientName);

        /// <summary>
        /// Retourne une partie
        /// </summary>
        /// <returns></returns>
        [OperationContract]
        PartyResponse GetParty();

        /// <summary>
        /// Vérifier la réponse du client
        /// </summary>
        /// <returns></returns>
        [OperationContract]
        Boolean checkClientChoice(String clientChoice, String fileSelected);
    }
}
